#{extends '/include/main.html' /}
#{set title:"后台" /}
#{include "/include/header.html" /}
<div id="wrapper">
	<div id="left-content">
		<ul id="nav">
			<li><span id="nav-selected-pointer"></span><a class="selected" href="@@{AdminController.listUsers()}" target="iframe-zone" >用户管理</a></li>
			<li><a href="@@{AdminController.listUrls()}" target="iframe-zone" >URL管理</a></li>
			<li><a href="@@{AdminController.toEditUrlAndUser()}" target="iframe-zone" >用户URL映射关系</a></li>
		</ul>
	</div>
	
	<div id="right-content">
		<iframe src="@@{AdminController.listUsers()}" name="iframe-zone" id="iframe-zone" frameborder="0"></iframe>
	</div>
</div>
 #{include "/include/footer.html" /}
<script>
	$(function() {
		DwManager.resizeWindow();

		$("#nav").find("a").click(function() {
			$("#nav").find("a").removeClass("selected");
			$(this).addClass("selected").before($("#nav-selected-pointer"));
		});
	})
</script>
